package com.pctx.bibaregisterlogin.dao;

import com.pctx.bibaregisterlogin.pojo.Position;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PositionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Position record);

    int insertSelective(Position record);

    Position selectByname(String name);

    Position selectByPrimaryKey(Long id);

    Position selectByUuid(String uuid);

    List<Position> selectByDepartmentuuid(String departmentuuid);

    int updateByPrimaryKeySelective(Position record);

    int updateByPrimaryKey(Position record);
}